﻿using System.Collections.Generic;

namespace Common
{
    public class LayerUtility
    {
        public const int Visible = 1; // 可见的layer
        
        public const int UI = 1 << 5; // UI 0层
        public const int UI3D = 1 << 6; // UI 3D 0层
        public const int UI_1 = 1 << 7; // UI 1层
        public const int UI3D_1 = 1 << 8; // UI 3D 1层
        public const int UI_2 = 1 << 9; // UI 2层
        public const int UI3D_2 = 1 << 10; // UI 3D 2层
        public const int UI_3 = 1 << 11; // UI 3层
        public const int UI3D_3 = 1 << 12; // UI 3D 3层
        
        
        
        public const int UI3DLayer = UI3D | UI3D_1 | UI3D_2 | UI3D_3;
        public const int UICanvasLayer = UI | UI_1 | UI_2 | UI_3;
        public const int UILayer = UICanvasLayer | UI3DLayer;
        
        public static readonly List<int> UILayers = new List<int>
        {
            UI, UI3D, UI_1, UI3D_1, UI_2, UI3D_2, UI_3, UI3D_3
        };
    }
}